﻿namespace EyeOpen.Data.Nibernate.Mapping
{
    using EyeOpen.Domain;

    public class UserMap : UniqueEntityMap<User>
    {
        protected UserMap()
        {
            HasMany(x => x.CredentialSet)
                .Inverse()
                .KeyColumnNames
                    .Add("UserId");
        }
    }
}